﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace nms.gaming.model
{
    /// <summary>
    /// </summary>
    [Serializable]
    [DataContract(Namespace = "nms.gaming", Name = "timeinterval")]
    public class TimeInterval
    {
        [DataMember(Order = 0, Name = "unit", IsRequired = true)]
        public TimeUnit Unit { get; set; }

        [DataMember(Order = 1, Name = "value", IsRequired = false)]
        public Int32 Value { get; set; }
    }
}
